const Mock = require('mockjs')

const routers = [
  {
    url: '/url',
    method: 'get',
    response: (req, res) => {
      res.json(Mock.mock({
        status: 200,
        data: '请求88888成功~'
      }))
    }
  },
  {
    url: '/url/path',
    method: 'get',
    response: (req, res) => {
      res.json(Mock.mock({
        status: 200,
        data: '请求接口/url/path'
      }))
    }
  }
]
module.exports = routers